package org.bigjava.novelplatform.common.exception;

import lombok.Data;

/**
 * 用户不规范操作异常
 * @author ykh
 * @create 2022-04-05 21:48
 */
@Data
public class UserActionException extends RuntimeException{
    private ExceptionCodeMessage codeMessage;
    public UserActionException(ExceptionCodeMessage codeMessage) {
        super(codeMessage.getMessage());
        this.codeMessage = codeMessage;

    }

}
